package com.jml;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * springboot整合skywalking不需要整合jar包
 * 先把springboot项目进行打包,然后放入skywalking的agent目录下
 * 启动springboot项目:
 * -javaagent:D:\jml-code\open_sources_project\apache-skywalking-apm-bin\agent\skywalking-agent.jar -jar  springboot的jar包
 */
@SpringBootApplication
@EnableScheduling
@EnableAsync
@MapperScan("com.jml.mapper")
public class SkyMember {
    public static void main(String[] args) {
        SpringApplication.run(SkyMember.class);
    }
}
